package com.zxl.grocery.microservice.crawler.service;


import com.zxl.grocery.microservice.crawler.common.base.AntInfo;

import java.util.List;
import java.util.Map;


public interface WebAntManagerService {
    
    AntInfo queryObject(String id);
    
    List<AntInfo> queryList(Map<String, Object> map);
    
    int queryTotal(Map<String, Object> map);
    
    public void start(String id);
    public void start(String[] ids);
    
    public void restart(String id);
    public void restart(String[] ids);
    
    public void stop(String id);
    public void stop(String[] ids);
    
}
